-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
migrate: leiningen -> tools.deps, build.edn, kaocha #20
base: main
Are you sure you want to change the base?
Conversation
- Drop Clojure 1.8 support: kaocha only supported 1.9+ - Remove `antq` clojure alias: use global installed antq - Remove `cloverage` make target: kaocha is configured to analyze code coverage by default - Use build.clj file instead of project.clj file for testing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@conao3 Thanks!
.github/workflows/lint-and-test.yml
Outdated
key: clj-cache-test-${{ hashFiles('project.clj') }} | ||
restore-keys: | | ||
clj-cache-test- | ||
|
||
- name: Run tests | ||
run: lein test-integration | ||
run: make test-integration | ||
|
||
- name: Run cloverage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This workflow uses lein
command yet.
Could you delete or fix like below?
https://github.com/liquidz/antq/blob/main/.github/workflows/coverage.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved at 82597bb
.github/workflows/lint-and-test.yml
Outdated
key: clj-cache-test-${{ hashFiles('project.clj') }} | ||
restore-keys: | | ||
clj-cache-test- | ||
|
||
- name: Run tests | ||
run: lein test-integration | ||
run: make test-integration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please run also make test
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved at 82597bb
Makefile
Outdated
|
||
.PHONY: clean | ||
clean: | ||
lein clean | ||
rm -rf target |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please delete also .cpcache
directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved at 08a7e2d
|
without this, I got `Error: You must specify at least one clojure tool.`
migrate: leiningen -> tools.deps, build.edn, kaocha
antq
clojure alias: use global installed antqcloverage
make target: kaocha is configured to analyze code coverage by defaultfix: update copyright year
bump version: v0.2.7 -> 0.2.8
remove
:global-vars
; this option for leiningen (remove for now)*warn-on-refrection*
indev/user.clj
.